package main

import "fmt"

type human struct {
	id int
	name string
}
type person4 struct {
	human
	age int
	sex string
	addr string
}
type student4 struct {
	person4
	class int
	score int
}

func main() {
	var stu student4
	stu.name = "宇智波佐助"
	stu.sex = "男"
	stu.addr = "木叶村"
	stu.class = 3004
	stu.score = 100
	fmt.Println(stu)
}
